projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
080e5a8
)
* gnutls.c (emacs_gnutls_handle_error): Remove unused local.
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 26 Apr 2011 07:20:51 +0000
(
00:20
-0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 26 Apr 2011 07:20:51 +0000
(
00:20
-0700)
src/ChangeLog
patch
|
blob
|
history
src/gnutls.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 8bdc3861f9bf1dbf643dacb30d0ac0b4ee1ba03c..6536a8537a4a3f3168eb5c944f1c1aea2f427d87 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-5,6
+5,7
@@
proc->gnutls_initstage, if the check is needed. The check isn't
needed for one caller, Fgnutls_boot.
(emacs_gnutls_read): Do that check. This is the other caller.
+ (emacs_gnutls_handle_error): Remove unused local.
lisp.h: Fix a problem with aliasing and vector headers.
GCC 4.6.0 optimizes based on type-based alias analysis. For
diff --git
a/src/gnutls.c
b/src/gnutls.c
index e75d8e717575fd2a3cdb77b2a36f2435f59afd85..30d7a0c531b079c1605a6d060f07f5daf670fd2d 100644
(file)
--- a/
src/gnutls.c
+++ b/
src/gnutls.c
@@
-200,7
+200,7
@@
emacs_gnutls_handle_error (gnutls_session_t session, int err)
Lisp_Object gnutls_log_level = Fsymbol_value (Qgnutls_log_level);
int max_log_level = 0;
- int
alert,
ret;
+ int ret;
const char *str;
/* TODO: use a Lisp_Object generated by gnutls_make_error? */